Smartling\Helpers\ShortcodeHelper A

Total Complexity 52
Dependencies 7
Dependents 2
Total lines 424
Lines of code 273
Logical lines of code 139
Comment lines 70
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
extractTranslations()
S
49 5 34
uploadShortcodeHandler()
S
54 5 21
buildShortcodeAttributes()
S
56 5 17
shortcodeApplierHandler()
S
61 4 11
getRegisteredShortcodes()
S
55 3 21
hasShortcodes()
S
57 3 18
replaceShortcodeHandler()
S
63 3 11
processTranslation()
S
59 2 15
processString()
S
59 2 15
getMaskRegexp()
S
59 1 16
passPostDownloadFilters()
S
66 2 8
escapeValue()
S
71 2 6
renderString()
S
72 2 6
restoreHandlers()
S
71 2 6
buildShortcode()
S
63 1 12
preUploadFiltering()
S
66 1 8
createShortcodeAttributeNode()
S
65 1 10
resetInternalState()
S
77 1 4
buildMaskedShortcode()
S
71 1 5
replaceHandlerForApplying()
S
80 1 3
unmask()
S
62 1 10
register()
S
74 1 4
setShortcodeAssignments()
S
77 1 4
getShortcodeAssignments()
S
78 1 4
replaceHandlerForMining()
S
76 1 4